package com.example.myweb.Service.Auth;

import com.example.myweb.Domain.Entity.User;
import com.example.myweb.Dto.ArticleSummaryDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface CollectionService {
    void createCollection(User currentUser, Long articleId);
    void deleteCollection(User currentUser, Long articleId);
    Page<ArticleSummaryDTO> getUserCollections(User currentUser, Pageable pageable);

}